/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.ove.openmath.jome.ctrlview.bidim;

/**
 *
 * @author Mr.Sam
 */
import java.awt.Color;

/**
* Interface that must implement all objects that want to be colored.
*
* @author © 1999 DIRAT Laurent
* @version 2.0 29/06/1999
*/
public interface Colorizable {
    /**
    * Sets the foreground color of the instance.
    * @param foregroundColor the new color.
    */
    public void setForegroundColor(Color foregroundColor);
    
    /**
    * Returns the foreground color of the instance.
    */
    public Color getForegroundColor();
    
    /**
    * Sets the background color of the instance.
    * @param backgroundColor the new color.
    */
    public void setBackgroundColor(Color backgroundColor);
    
    /**
    * Returns the background color of the instance.
    */
    public Color getBackgroundColor();
    
    /**
    * Sets the selection color of the instance.
    * @param selectionColor the new color.
    */
    public void setSelectionColor(Color selectionColor);
    
    /**
    * Returns the selection color of the instance.
    */
    public Color getSelectionColor();
}
